//
//  CCAlertModel.h
//  Activity
//
//  Created by its on 15/6/10.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import <AVOSCloud/AVOSCloud.h>
#import <Mantle/Mantle.h>
@interface CCAlertModel : NSObject

- (RACSignal *) getUnreadReplyFromServer;

- (RACSignal *) getUnreadCommentFromServer;

- (NSArray *) getUnreadCommentFromLocal;

- (NSArray *) getUnreadReplyFromLocal;

- (NSArray *) saveUnreadCommentToLocal;

- (NSArray *) saveUnreadReplyToLocal;

- (RACSignal *) getCommentList:(int) from limit:(int)limit owner:(AVObject *)owner;

- (RACSignal *) getReplyList:(int) from limit:(int)limit owner:(AVObject *)owner;

@end


@interface CCCommentAlert : MTLModel<MTLJSONSerializing>
@property (nonatomic, copy) NSString *activityId;
@property (nonatomic, copy) NSString *author;
@property (nonatomic, copy) NSString *commentId;
@end

@interface CCReplyAlert : MTLModel <MTLJSONSerializing>
@property (nonatomic, copy) NSString *activityId;
@property (nonatomic, copy) NSString *author;
@property (nonatomic, copy) NSString *replyId;
@end